import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class RechargeFlow {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'wx_user' })
  wx_user: string;

  @Column({ name: 'amount' })
  amount: number;

  @Column({ name: 'create_time' })
  create_time: Date;

  @Column({ name: 'update_time' })
  update_time: Date;

  @Column({ name: 'order_id' })
  order_id: string;

  @Column({ name: 'platform' })
  platform: number;

  @Column({ name: 'status' })
  status: number;
}
